package com.eml.service.entity;

public class Merchant {
    private Integer merchant_id; //商家编号
    private String merchant_accontname; //商家登录账号
    private String merchant_password; //商家登录密码
    private String merchant_phone; //商家电话
    private String merchant_name; //商家名称

    public Merchant() {
    }

    public Merchant(String merchant_accontname, String merchant_password, String merchant_phone, String merchant_name) {
        this.merchant_accontname = merchant_accontname;
        this.merchant_password = merchant_password;
        this.merchant_phone = merchant_phone;
        this.merchant_name = merchant_name;
    }

    public Merchant(Integer merchant_id, String merchant_accontname, String merchant_password, String merchant_phone, String merchant_name) {
        this.merchant_id = merchant_id;
        this.merchant_accontname = merchant_accontname;
        this.merchant_password = merchant_password;
        this.merchant_phone = merchant_phone;
        this.merchant_name = merchant_name;
    }

    public Integer getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(Integer merchant_id) {
        this.merchant_id = merchant_id;
    }

    public String getMerchant_accontname() {
        return merchant_accontname;
    }

    public void setMerchant_accontname(String merchant_accontname) {
        this.merchant_accontname = merchant_accontname;
    }

    public String getMerchant_password() {
        return merchant_password;
    }

    public void setMerchant_password(String merchant_password) {
        this.merchant_password = merchant_password;
    }

    public String getMerchant_phone() {
        return merchant_phone;
    }

    public void setMerchant_phone(String merchant_phone) {
        this.merchant_phone = merchant_phone;
    }

    public String getMerchant_name() {
        return merchant_name;
    }

    public void setMerchant_name(String merchant_name) {
        this.merchant_name = merchant_name;
    }

    @Override
    public String toString() {
        return "Merchant{" +
                "merchant_id=" + merchant_id +
                ", merchant_accontname='" + merchant_accontname + '\'' +
                ", merchant_password='" + merchant_password + '\'' +
                ", merchant_phone='" + merchant_phone + '\'' +
                ", merchant_name='" + merchant_name + '\'' +
                '}';
    }
}
